﻿using MediatR;
using Traceable.ErrorCode;

namespace Traceable.App.Application.Command.Goods
{
    public class CreateGoodsTraceCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质天数
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Permit { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Companies { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Perfect { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? Cover { get; set; }
    }
}
